package com.godfrey.mapper;

import com.godfrey.pojo.Blog;

import java.util.List;
import java.util.Map;

/**
 * @author godfrey
 * @since 2020-05-21
 */
public interface BlogMapper {
    //新增一个博客
    int addBlog(Blog blog);

    List<Blog> queryBlogIf(Map map);

    List<Blog> queryBlogWhere(Map map);

    int updateBlog(Map map);

    List<Blog> queryBlogChoose(Map map);

    List<Blog> queryBlogForeach(Map map);
}
